Track
fun Track(sliderPositions: SliderPositions, modifier: Modifier = Modifier, colors: WavySliderColors = colors(), enabled: Boolean = true, waveLength: Dp, waveHeight: Dp, waveThickness: Dp, trackThickness: Dp?, animationDirection: WaveAnimationDirection, shouldFlatten: Boolean)
The Default track for WavySlider
Parameters
slider Positions
SliderPositions which is used to obtain the current active track.
modifier
the Modifier to be applied to the track.
colors
WavySliderColors that will be used to resolve the colors used for this track in different states. See WavySliderDefaults.colors.
enabled
controls the enabled state of this WavySlider. When false, this component will not respond to user input, and it will appear visually disabled and disabled to accessibility services.